﻿using System.Collections.Generic;
using WebShop.Contracts;
using WebShop.Models;

namespace WebShop.ViewModels
{
    public class UserWithRoles
    {
        public UserWithRoles()
        {
            Roles = new List<UserRole>();
        }
        public User User { get; set; }
        public List<UserRole> Roles { get; set; }

    }

    public class UserRole
    {
        public string Name { get; set; }
        public bool Participate { get; set; }
    }
}